package com.wenwu.common.bean;

import java.util.ArrayList;
import java.util.List;

public class RelicsNaturalEnvironmentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RelicsNaturalEnvironmentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andNaturalIdIsNull() {
            addCriterion("natural_id is null");
            return (Criteria) this;
        }

        public Criteria andNaturalIdIsNotNull() {
            addCriterion("natural_id is not null");
            return (Criteria) this;
        }

        public Criteria andNaturalIdEqualTo(Integer value) {
            addCriterion("natural_id =", value, "naturalId");
            return (Criteria) this;
        }

        public Criteria andNaturalIdNotEqualTo(Integer value) {
            addCriterion("natural_id <>", value, "naturalId");
            return (Criteria) this;
        }

        public Criteria andNaturalIdGreaterThan(Integer value) {
            addCriterion("natural_id >", value, "naturalId");
            return (Criteria) this;
        }

        public Criteria andNaturalIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("natural_id >=", value, "naturalId");
            return (Criteria) this;
        }

        public Criteria andNaturalIdLessThan(Integer value) {
            addCriterion("natural_id <", value, "naturalId");
            return (Criteria) this;
        }

        public Criteria andNaturalIdLessThanOrEqualTo(Integer value) {
            addCriterion("natural_id <=", value, "naturalId");
            return (Criteria) this;
        }

        public Criteria andNaturalIdIn(List<Integer> values) {
            addCriterion("natural_id in", values, "naturalId");
            return (Criteria) this;
        }

        public Criteria andNaturalIdNotIn(List<Integer> values) {
            addCriterion("natural_id not in", values, "naturalId");
            return (Criteria) this;
        }

        public Criteria andNaturalIdBetween(Integer value1, Integer value2) {
            addCriterion("natural_id between", value1, value2, "naturalId");
            return (Criteria) this;
        }

        public Criteria andNaturalIdNotBetween(Integer value1, Integer value2) {
            addCriterion("natural_id not between", value1, value2, "naturalId");
            return (Criteria) this;
        }

        public Criteria andBasicIdIsNull() {
            addCriterion("basic_id is null");
            return (Criteria) this;
        }

        public Criteria andBasicIdIsNotNull() {
            addCriterion("basic_id is not null");
            return (Criteria) this;
        }

        public Criteria andBasicIdEqualTo(Integer value) {
            addCriterion("basic_id =", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotEqualTo(Integer value) {
            addCriterion("basic_id <>", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdGreaterThan(Integer value) {
            addCriterion("basic_id >", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("basic_id >=", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdLessThan(Integer value) {
            addCriterion("basic_id <", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdLessThanOrEqualTo(Integer value) {
            addCriterion("basic_id <=", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdIn(List<Integer> values) {
            addCriterion("basic_id in", values, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotIn(List<Integer> values) {
            addCriterion("basic_id not in", values, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdBetween(Integer value1, Integer value2) {
            addCriterion("basic_id between", value1, value2, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotBetween(Integer value1, Integer value2) {
            addCriterion("basic_id not between", value1, value2, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicNameIsNull() {
            addCriterion("basic_name is null");
            return (Criteria) this;
        }

        public Criteria andBasicNameIsNotNull() {
            addCriterion("basic_name is not null");
            return (Criteria) this;
        }

        public Criteria andBasicNameEqualTo(String value) {
            addCriterion("basic_name =", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotEqualTo(String value) {
            addCriterion("basic_name <>", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameGreaterThan(String value) {
            addCriterion("basic_name >", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameGreaterThanOrEqualTo(String value) {
            addCriterion("basic_name >=", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLessThan(String value) {
            addCriterion("basic_name <", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLessThanOrEqualTo(String value) {
            addCriterion("basic_name <=", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLike(String value) {
            addCriterion("basic_name like", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotLike(String value) {
            addCriterion("basic_name not like", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameIn(List<String> values) {
            addCriterion("basic_name in", values, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotIn(List<String> values) {
            addCriterion("basic_name not in", values, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameBetween(String value1, String value2) {
            addCriterion("basic_name between", value1, value2, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotBetween(String value1, String value2) {
            addCriterion("basic_name not between", value1, value2, "basicName");
            return (Criteria) this;
        }

        public Criteria andClimateIsNull() {
            addCriterion("climate is null");
            return (Criteria) this;
        }

        public Criteria andClimateIsNotNull() {
            addCriterion("climate is not null");
            return (Criteria) this;
        }

        public Criteria andClimateEqualTo(String value) {
            addCriterion("climate =", value, "climate");
            return (Criteria) this;
        }

        public Criteria andClimateNotEqualTo(String value) {
            addCriterion("climate <>", value, "climate");
            return (Criteria) this;
        }

        public Criteria andClimateGreaterThan(String value) {
            addCriterion("climate >", value, "climate");
            return (Criteria) this;
        }

        public Criteria andClimateGreaterThanOrEqualTo(String value) {
            addCriterion("climate >=", value, "climate");
            return (Criteria) this;
        }

        public Criteria andClimateLessThan(String value) {
            addCriterion("climate <", value, "climate");
            return (Criteria) this;
        }

        public Criteria andClimateLessThanOrEqualTo(String value) {
            addCriterion("climate <=", value, "climate");
            return (Criteria) this;
        }

        public Criteria andClimateLike(String value) {
            addCriterion("climate like", value, "climate");
            return (Criteria) this;
        }

        public Criteria andClimateNotLike(String value) {
            addCriterion("climate not like", value, "climate");
            return (Criteria) this;
        }

        public Criteria andClimateIn(List<String> values) {
            addCriterion("climate in", values, "climate");
            return (Criteria) this;
        }

        public Criteria andClimateNotIn(List<String> values) {
            addCriterion("climate not in", values, "climate");
            return (Criteria) this;
        }

        public Criteria andClimateBetween(String value1, String value2) {
            addCriterion("climate between", value1, value2, "climate");
            return (Criteria) this;
        }

        public Criteria andClimateNotBetween(String value1, String value2) {
            addCriterion("climate not between", value1, value2, "climate");
            return (Criteria) this;
        }

        public Criteria andTerrainIsNull() {
            addCriterion("terrain is null");
            return (Criteria) this;
        }

        public Criteria andTerrainIsNotNull() {
            addCriterion("terrain is not null");
            return (Criteria) this;
        }

        public Criteria andTerrainEqualTo(String value) {
            addCriterion("terrain =", value, "terrain");
            return (Criteria) this;
        }

        public Criteria andTerrainNotEqualTo(String value) {
            addCriterion("terrain <>", value, "terrain");
            return (Criteria) this;
        }

        public Criteria andTerrainGreaterThan(String value) {
            addCriterion("terrain >", value, "terrain");
            return (Criteria) this;
        }

        public Criteria andTerrainGreaterThanOrEqualTo(String value) {
            addCriterion("terrain >=", value, "terrain");
            return (Criteria) this;
        }

        public Criteria andTerrainLessThan(String value) {
            addCriterion("terrain <", value, "terrain");
            return (Criteria) this;
        }

        public Criteria andTerrainLessThanOrEqualTo(String value) {
            addCriterion("terrain <=", value, "terrain");
            return (Criteria) this;
        }

        public Criteria andTerrainLike(String value) {
            addCriterion("terrain like", value, "terrain");
            return (Criteria) this;
        }

        public Criteria andTerrainNotLike(String value) {
            addCriterion("terrain not like", value, "terrain");
            return (Criteria) this;
        }

        public Criteria andTerrainIn(List<String> values) {
            addCriterion("terrain in", values, "terrain");
            return (Criteria) this;
        }

        public Criteria andTerrainNotIn(List<String> values) {
            addCriterion("terrain not in", values, "terrain");
            return (Criteria) this;
        }

        public Criteria andTerrainBetween(String value1, String value2) {
            addCriterion("terrain between", value1, value2, "terrain");
            return (Criteria) this;
        }

        public Criteria andTerrainNotBetween(String value1, String value2) {
            addCriterion("terrain not between", value1, value2, "terrain");
            return (Criteria) this;
        }

        public Criteria andGeologyIsNull() {
            addCriterion("geology is null");
            return (Criteria) this;
        }

        public Criteria andGeologyIsNotNull() {
            addCriterion("geology is not null");
            return (Criteria) this;
        }

        public Criteria andGeologyEqualTo(String value) {
            addCriterion("geology =", value, "geology");
            return (Criteria) this;
        }

        public Criteria andGeologyNotEqualTo(String value) {
            addCriterion("geology <>", value, "geology");
            return (Criteria) this;
        }

        public Criteria andGeologyGreaterThan(String value) {
            addCriterion("geology >", value, "geology");
            return (Criteria) this;
        }

        public Criteria andGeologyGreaterThanOrEqualTo(String value) {
            addCriterion("geology >=", value, "geology");
            return (Criteria) this;
        }

        public Criteria andGeologyLessThan(String value) {
            addCriterion("geology <", value, "geology");
            return (Criteria) this;
        }

        public Criteria andGeologyLessThanOrEqualTo(String value) {
            addCriterion("geology <=", value, "geology");
            return (Criteria) this;
        }

        public Criteria andGeologyLike(String value) {
            addCriterion("geology like", value, "geology");
            return (Criteria) this;
        }

        public Criteria andGeologyNotLike(String value) {
            addCriterion("geology not like", value, "geology");
            return (Criteria) this;
        }

        public Criteria andGeologyIn(List<String> values) {
            addCriterion("geology in", values, "geology");
            return (Criteria) this;
        }

        public Criteria andGeologyNotIn(List<String> values) {
            addCriterion("geology not in", values, "geology");
            return (Criteria) this;
        }

        public Criteria andGeologyBetween(String value1, String value2) {
            addCriterion("geology between", value1, value2, "geology");
            return (Criteria) this;
        }

        public Criteria andGeologyNotBetween(String value1, String value2) {
            addCriterion("geology not between", value1, value2, "geology");
            return (Criteria) this;
        }

        public Criteria andHydrologyIsNull() {
            addCriterion("hydrology is null");
            return (Criteria) this;
        }

        public Criteria andHydrologyIsNotNull() {
            addCriterion("hydrology is not null");
            return (Criteria) this;
        }

        public Criteria andHydrologyEqualTo(String value) {
            addCriterion("hydrology =", value, "hydrology");
            return (Criteria) this;
        }

        public Criteria andHydrologyNotEqualTo(String value) {
            addCriterion("hydrology <>", value, "hydrology");
            return (Criteria) this;
        }

        public Criteria andHydrologyGreaterThan(String value) {
            addCriterion("hydrology >", value, "hydrology");
            return (Criteria) this;
        }

        public Criteria andHydrologyGreaterThanOrEqualTo(String value) {
            addCriterion("hydrology >=", value, "hydrology");
            return (Criteria) this;
        }

        public Criteria andHydrologyLessThan(String value) {
            addCriterion("hydrology <", value, "hydrology");
            return (Criteria) this;
        }

        public Criteria andHydrologyLessThanOrEqualTo(String value) {
            addCriterion("hydrology <=", value, "hydrology");
            return (Criteria) this;
        }

        public Criteria andHydrologyLike(String value) {
            addCriterion("hydrology like", value, "hydrology");
            return (Criteria) this;
        }

        public Criteria andHydrologyNotLike(String value) {
            addCriterion("hydrology not like", value, "hydrology");
            return (Criteria) this;
        }

        public Criteria andHydrologyIn(List<String> values) {
            addCriterion("hydrology in", values, "hydrology");
            return (Criteria) this;
        }

        public Criteria andHydrologyNotIn(List<String> values) {
            addCriterion("hydrology not in", values, "hydrology");
            return (Criteria) this;
        }

        public Criteria andHydrologyBetween(String value1, String value2) {
            addCriterion("hydrology between", value1, value2, "hydrology");
            return (Criteria) this;
        }

        public Criteria andHydrologyNotBetween(String value1, String value2) {
            addCriterion("hydrology not between", value1, value2, "hydrology");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsIsNull() {
            addCriterion("animals_plants is null");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsIsNotNull() {
            addCriterion("animals_plants is not null");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsEqualTo(String value) {
            addCriterion("animals_plants =", value, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsNotEqualTo(String value) {
            addCriterion("animals_plants <>", value, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsGreaterThan(String value) {
            addCriterion("animals_plants >", value, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsGreaterThanOrEqualTo(String value) {
            addCriterion("animals_plants >=", value, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsLessThan(String value) {
            addCriterion("animals_plants <", value, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsLessThanOrEqualTo(String value) {
            addCriterion("animals_plants <=", value, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsLike(String value) {
            addCriterion("animals_plants like", value, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsNotLike(String value) {
            addCriterion("animals_plants not like", value, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsIn(List<String> values) {
            addCriterion("animals_plants in", values, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsNotIn(List<String> values) {
            addCriterion("animals_plants not in", values, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsBetween(String value1, String value2) {
            addCriterion("animals_plants between", value1, value2, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andAnimalsPlantsNotBetween(String value1, String value2) {
            addCriterion("animals_plants not between", value1, value2, "animalsPlants");
            return (Criteria) this;
        }

        public Criteria andFileIsNull() {
            addCriterion("file is null");
            return (Criteria) this;
        }

        public Criteria andFileIsNotNull() {
            addCriterion("file is not null");
            return (Criteria) this;
        }

        public Criteria andFileEqualTo(String value) {
            addCriterion("file =", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotEqualTo(String value) {
            addCriterion("file <>", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileGreaterThan(String value) {
            addCriterion("file >", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileGreaterThanOrEqualTo(String value) {
            addCriterion("file >=", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLessThan(String value) {
            addCriterion("file <", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLessThanOrEqualTo(String value) {
            addCriterion("file <=", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLike(String value) {
            addCriterion("file like", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotLike(String value) {
            addCriterion("file not like", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileIn(List<String> values) {
            addCriterion("file in", values, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotIn(List<String> values) {
            addCriterion("file not in", values, "file");
            return (Criteria) this;
        }

        public Criteria andFileBetween(String value1, String value2) {
            addCriterion("file between", value1, value2, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotBetween(String value1, String value2) {
            addCriterion("file not between", value1, value2, "file");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNull() {
            addCriterion("append1 is null");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNotNull() {
            addCriterion("append1 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend1EqualTo(String value) {
            addCriterion("append1 =", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotEqualTo(String value) {
            addCriterion("append1 <>", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThan(String value) {
            addCriterion("append1 >", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThanOrEqualTo(String value) {
            addCriterion("append1 >=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThan(String value) {
            addCriterion("append1 <", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThanOrEqualTo(String value) {
            addCriterion("append1 <=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Like(String value) {
            addCriterion("append1 like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotLike(String value) {
            addCriterion("append1 not like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1In(List<String> values) {
            addCriterion("append1 in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotIn(List<String> values) {
            addCriterion("append1 not in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Between(String value1, String value2) {
            addCriterion("append1 between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotBetween(String value1, String value2) {
            addCriterion("append1 not between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNull() {
            addCriterion("append2 is null");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNotNull() {
            addCriterion("append2 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend2EqualTo(String value) {
            addCriterion("append2 =", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotEqualTo(String value) {
            addCriterion("append2 <>", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThan(String value) {
            addCriterion("append2 >", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThanOrEqualTo(String value) {
            addCriterion("append2 >=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThan(String value) {
            addCriterion("append2 <", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThanOrEqualTo(String value) {
            addCriterion("append2 <=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Like(String value) {
            addCriterion("append2 like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotLike(String value) {
            addCriterion("append2 not like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2In(List<String> values) {
            addCriterion("append2 in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotIn(List<String> values) {
            addCriterion("append2 not in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Between(String value1, String value2) {
            addCriterion("append2 between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotBetween(String value1, String value2) {
            addCriterion("append2 not between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNull() {
            addCriterion("append3 is null");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNotNull() {
            addCriterion("append3 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend3EqualTo(String value) {
            addCriterion("append3 =", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotEqualTo(String value) {
            addCriterion("append3 <>", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThan(String value) {
            addCriterion("append3 >", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThanOrEqualTo(String value) {
            addCriterion("append3 >=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThan(String value) {
            addCriterion("append3 <", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThanOrEqualTo(String value) {
            addCriterion("append3 <=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Like(String value) {
            addCriterion("append3 like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotLike(String value) {
            addCriterion("append3 not like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3In(List<String> values) {
            addCriterion("append3 in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotIn(List<String> values) {
            addCriterion("append3 not in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Between(String value1, String value2) {
            addCriterion("append3 between", value1, value2, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotBetween(String value1, String value2) {
            addCriterion("append3 not between", value1, value2, "append3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}